package com.guet.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TopicVO {
    private int id;
    private String title;
    private String content;
    private String publisher;
    private String identify;
    private String image;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private int watch;
    private int reply;  // 回复数
}
